
public class string18 {

	public static void main(String[] args)throws Exception
	{
		String str1 = "123456", str2 = "abcde";
		int posNum = 1, strLen = 3;
		str2 += str1.substring(posNum, posNum + strLen);
		System.out.println(str2);
	}

}
